<template>
  <div>
    <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
      <van-swipe-item v-for="item in swipreimg" :key="item.iid"><img :src="item" alt=""/></van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  props: {
    swipreimg: {
      type:Array
    }
  }
}
</script>

<style scoped>
.my-swipe .van-swipe-item {
  font-size: 20px;

  background-color: #39a9ed;
}
.van-swipe-item {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
</style>
